package com.liuyjy.base.common.annotations;

import com.liuyjy.base.common.desens.DataMaskingFunc;

import java.lang.annotation.*;

/**
 * @Author liuyjy
 * @Date 2022/7/18 20:40
 * @Description: 脱敏注解
 * @DataMasking(maskFunc = DataMaskingFunc.ALL_MASK)
 **/
@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataMasking {

    DataMaskingFunc value() default DataMaskingFunc.NO_MASK;
}
